#include<iostream>
#include<vector>
#include<algorithm>

using namespace std;
int main() {
    vector<int> nums = {2, 45, 1, 3, 2};
    sort(nums.begin(), nums.end()); // default ascending order
    for (int num : nums) {
        cout << num << endl;
    }

}